package com.ts.main.admin.mapper;

import com.ts.main.admin.dto.OrderSearchPageDto;
import com.ts.main.admin.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ts.main.admin.vo.OrderVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author lk
* @description 针对表【t_order(用户订单表)】的数据库操作Mapper
* @createDate 2025-06-09 00:56:13
* @Entity generator.domain.TOrder
*/
public interface OrderMapper extends BaseMapper<OrderEntity> {

    List<OrderVo> getOrderPage(@Param("dto") OrderSearchPageDto dto);

    OrderVo getOrderDetails(@Param("orderId") Integer orderId);
}




